package cn.e4j.modular.erp.service.impl;

import cn.e4j.core.dto.impl.Dto;
import cn.e4j.modular.crm.entity.GwamT;
import cn.e4j.modular.erp.mapper.E10Mapper;
import cn.e4j.modular.erp.service.Erp;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * GP逻辑处理
 * Created by ganjia on 2019-09-18.
 */
@Service
public class E10ServiceImpl extends ServiceImpl<E10Mapper, GwamT> implements Erp {

    @Transactional(readOnly = true)
    public List<Dto> getSiteList(Page<Object> page, Dto dto) {
        return this.baseMapper.getSiteList(page, dto);
    }

    /**
     * 获取营运中心名称
     * @param dto
     * @return
     */
    @Transactional(readOnly = true)
    public Dto getAzpFile(Dto dto) {
        return null;
    }

}
